<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<html>
<head>
    <title>设备参数管理</title>
    <meta name="decorator" content="nblank"/>
</head>
<body>
<div class="content container">
    <h2 class="page-title">设备类型管理
        <small> ${parameter.equipment.name}参数列表</small>
    </h2>
    <section class="widget widget-tabs widget-table-overflow ">
        ${parament.name}
        <header>
            <ul class="nav nav-tabs">
                <li><a href="${ctx}/biz/equipment/">设备类型管理</a></li>
                <li class="active"><a href="javascript:;">${parameter.equipment.name}参数列表</a></li>
                <li><a href="${ctx}/biz/equParameter/form?equipment.id=${parameter.equipment.id}">${parameter.equipment.name}参数添加</a></li>
            </ul>
        </header>
        <div class="body tab-content">
            <table id="contentTable" class="table table-striped table-condensed">
                <tr>
                    <th>标识</th>
                    <th>参数名</th>
                    <th>类型</th>
                    <th>单位</th>
                    <th>操作</th>
                </tr>
                <c:forEach items="${list}" var="params">
                    <tr>
                        <td>${params.kid}</td>
                        <td>${params.name}</td>
                        <td>${params.type}</td>
                        <td>${fns:getDictLabels(params.unit, "biz_equip_unit", "")}</td>
                        <td>
                            <a href="${ctx}/biz/equParameter/form?id=${params.id}&equipment.id=${parameter.equipment.id}">修改</a>
                            <a href="${ctx}/biz/equParameter/delete?id=${params.id}&equipment.id=${parameter.equipment.id}" class="no-pjax" onClick="confirmx('确认要删除该设备参数吗？', this.href);return false;">删除</a>
                        </td>
                    </tr>
                </c:forEach>
            </table>
        </div>
    </section>
</div>
</body>
</html>